package com.cskaoyan.model;

import lombok.Data;

import javax.validation.constraints.Pattern;
import java.util.Date;
@Data
public class Feedback {
    private Integer id;

    private Integer userId;

    private String username;
    @Pattern(regexp = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$",message = "手机号格式错误")
    private String mobile;

    private String feedType;

    private String content;

    private Integer status;

    private Boolean hasPicture;

    private String[] picUrls;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

}
